package cn.qinhao.pethome.employee.mapper;

import cn.qinhao.pethome.basic.base.mapper.BaseMapper;
import cn.qinhao.pethome.employee.domain.Employee;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author qinhao
 * @since 2023-02-23
 */
@Repository
public interface EmployeeMapper extends BaseMapper<Employee> {

    Employee loadByLogininfo(Long id);

    List<String> loadPermissionByEmpId(Long id);
}
